module.exports = {
	createUserRequest: {
		username: {
			type: 'string',
			required: true,
			description: '用户名',
			example: 'admin',
		},
		password: {
			type: 'string',
			required: true,
			description: '密码',
			example: '123456',
		},
		roleId: {
			type: 'number',
			required: false,
			description: '权限ID',
			example: 1,
		},
	},
	updateUserRequest: {
		password: {
			type: 'string',
			required: true,
			description: '密码',
			example: '123456',
		},
		roleId: {
			type: 'number',
			required: false,
			description: '权限ID',
			example: 1,
		},
		status: {
			type: 'number',
			required: false,
			description: '开启状态 1开启 0禁用',
			example: 1,
		},
	},
}
